N ENTENDI, AONDE COLOCO O CODIGO? EM Q PASTA DO HTDOCS?
- Forums
- OTServ
- Tutoriais
- Tutoriais de Websites
- [Turital] Banner Para Gesior Account.
[Turital] Banner Para Gesior Account.
By ADMJuan, 23 de out. de 2011 in Tutoriais de Websites
info
Group: Conde
Joined: 30/01/10
Posts: 706
Reputation: +125
Gender: Masculino
Tibia Character: Bakwin

info
Group: Lorde
Joined: 17/01/09
Posts: 2.1k
Reputation: +395
Tibia Character: Adra Sata

Isso se chama pop-up , e já existe um tutorial que eu fiz ![]()
info
Group: Campones
Joined: 30/10/10
Posts: 15
Reputation: +1
Tibia Character: Ethafa Darkan

passa o link do seu tutorial SkyDangerous
info
Group: Lorde
Joined: 17/01/09
Posts: 2.1k
Reputation: +395
Tibia Character: Adra Sata

info
Group: Campones
Joined: 01/10/11
Posts: 76
Reputation: +7
Tibia Character: Dran Quin

é sim na pasta htdocs,
e
É sim um pop-up, mais o seu não é por iframe. ^^ o seu é só .js ^^ inclusive eu usei o pop-up no começo do meu ot serve kkkk
Pra quem tem dúvida de como deixar em uma única página aqui vai!
ensino mano. ^^ é só seguir o que tá em baixo:
primeiro você vai em C:\xampp\htdocs dai se você quer colocar na página principal do seu OT, você abri o latestnews.php ai onde tem:
<?PHP $time = time(); ///////////////////////////////////////////////////////////////////////////////////////// //The new edition of my script: Best Player, Last joined and something new Server Motd.// /////////////////////////Everything in the new appearance./////////////////////////////// //////////////////////////////////////by Aleh/////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////// ///Queries ///
você acrescenta antes de <?PHP:
<div id="LayerPop" style="display:block; position:absolute; left:0px; top:0px; background-color:#1e1e22; width:100%; height:180%; z-index:100;margin:0px;opacity:0.75;"></div>
<div id="LayerPop2" style="position: absolute; left: 330px; top: 80px; z-index: 5000;"><a href="?subtopic= "LINK PARA REDIRECIONAR" target="_BLANK"><img src="PASTA EM QUE SE ENCONTRA A IMG NO HTDOCS.TIPODAIMG" class="imgBorder"></a><br><a href="javascript:void();" onClick="document.getElementById('LayerPop').style.display = 'none';document.getElementById('LayerPop2').style.display = 'none'">
<b>Fechar</b></a></div>
esse é o exemplo:
<div id="LayerPop" style="display:block; position:absolute; left:0px; top:0px; background-color:#1e1e22; width:100%; height:180%; z-index:100;margin:0px;opacity:0.75;"></div>
<div id="LayerPop2" style="position: absolute; left: 330px; top: 80px; z-index: 5000;"><a href="?subtopic= "LINK PARA REDIRECIONAR" target="_BLANK"><img src="PASTA EM QUE SE ENCONTRA A IMG NO HTDOCS.TIPODAIMG" class="imgBorder"></a><br><a href="javascript:void();" onClick="document.getElementById('LayerPop').style.display = 'none';document.getElementById('LayerPop2').style.display = 'none'">
<b>Fechar</b></a></div>
<?PHP
$time = time();
/////////////////////////////////////////////////////////////////////////////////////////
//The new edition of my script: Best Player, Last joined and something new Server Motd.//
/////////////////////////Everything in the new appearance.///////////////////////////////
//////////////////////////////////////by Aleh///////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////
///Queries //
Edited Outubro 25 by ADMJuan
info
Group: Campones
Joined: 09/08/10
Posts: 71
Reputation: +2
Tibia Character: Eduardo of Honera

TURITAl, rsrsrsrrs, MUITO BOM MANO CURTI O CONTEUDO REP+
info
Group: Herói
Joined: 22/04/11
Posts: 2.5k
Reputation: +293
Gender: Masculino
Tibia Character: Thyn Zare

Aprovado, Parabéns, Continue Assim!
Movido para a Seção Correta!
De Cima: Negativado por flood.
info
Group: Campones
Joined: 01/10/11
Posts: 76
Reputation: +7
Tibia Character: Dran Quin

Muito obrigado AnyurtCt, eu espero ajudar sempre!
e Trivelatos, o [ Turital ] ficou engraçado mesmo, mais foi pq eu fiz as presas, e não prestei atenção no nome kkkkk. vlw
info
Group: Barão
Joined: 27/04/09
Posts: 242
Reputation: +83
Gender: Masculino
Tibia Character: Askators

Muito Bom o Tutorial gostei mesmo até daria rep + mas ja espirou e te dou amanhã ![]()
Edited Novembro 10 by ADM_Forever
info
Group: Cavaleiro
Joined: 04/07/11
Posts: 156
Reputation: +14
Tibia Character: King Of Skyer

EU APROVO MUITO BOM!








info
Group: Campones
Joined: 01/10/11
Posts: 76
Reputation: +7
Tibia Character: Dran Quin
Pessoal sem querer errei o Nome lá em cima: é TUTORIAL quem puder a jeitar fico grato! 1 tutor aki ^^
Bom galera é seguinte, eu venho aqui mostrar como colocar esse banner aki:
É bem simples e fácil. basta você adicionar o code que vou posta logo abaixo em C:\xampp\htdocs
<div id="LayerPop" style="display:block; position:absolute; left:0px; top:0px; background-color:#1e1e22; width:100%; height:180%; z-index:100;margin:0px;opacity:0.75;"></div> <div id="LayerPop2" style="position: absolute; left: 330px; top: 80px; z-index: 5000;"><a href="?subtopic= "LINK PARA REDIRECIONAR" target="_BLANK"><img src="PASTA EM QUE SE ENCONTRA A IMG NO HTDOCS.TIPO .PNG ou .GIF" class="imgBorder"></a><br><a href="javascript:void();" onClick="document.getElementById('LayerPop').style.display = 'none';document.getElementById('LayerPop2').style.display = 'none'"> <b>Fechar</b></a></div>Já ia me esquecendo..
onde tem:
~~> Bota o link onde quer ele seja redirecinado tipo: latestnews
onde tem:
~~> você colocar onde está sua imagem do banner!
Exemplo se você que apareça em
é só você colocar o código acima dentro do latestnews.php.
Obs: Você tem que colocar o código acima antes de
porque se você colocar dentro do php vai da um erro! blz?
créditos:
SkyDangerous
E embaixo tá o tutor do SkyDangerous também.
http://www.xtibia.com/forum/topic/167629-pop-up-especial/
é quase a mesma coisa só muda, porque esse a tela foca no banner. Abraços
Tem mais gente, não lembro os nomes.
Quando eu achar eu editor e o tópico.
Se gostou da um
! Obrigado!
Edited Outubro 24 by ADMJuan